package com.example.act6.test.controller;


import com.example.act6.test.service.ISysUserService;
import com.example.act6.test.service.impl.SysUserServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author jrw
 * @since 2022-03-08
 */
@RestController
@RequestMapping("/test/sys-user")
public class SysUserController {
    @Autowired
    private ISysUserService sysUserService;

    @GetMapping("/test")
    public Object Test() {
        return sysUserService.list();
    }
}
